package com.ruoyi.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum StatusCodeEnum {
    
    
    SUCCESS(2000,"操作成功!"),
    
    FAIL(4000,"操作失败!"),

    NO_LOGIN(4001, "用户未登录"),
    
    SYSTEM_ERROR(5000, "系统异常");
    
    private final Integer code;

    private final String desc;
}
